package com.dd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author dhd
 * @since 2024-12-12 09:00
 */
@Getter
@Setter
@TableName("user")
@Schema(name = "User", description = "")
public class User {

    @Schema(description = "人员编号")
    @TableId(value = "Id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "名称")
    @TableField("nick_name")
    private String nickName;

    @Schema(description = "性别")
    @TableField("Gender")
    private String gender;

    @Schema(description = "年龄")
    @TableField("Age")
    private Integer age;

    @Schema(description = "小组编号")
    @TableField("Squad_id")
    private Integer squadId;
}
